This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: How to really really kill domino/notes on linux?
Feedback Type: Question
Product Area: Domino Server
Technical Area: Administration
Platform: Linux server
Release: 8.5.3
Reproducible: Always
Hello,
I am constructing linux start/stop script for domino. I also want to be able to do maintenance daily or weekly where the domino server is shut down and some fixup/compact etc is performed.
The problem for me when doing this on a Sametime server is that sometimes the server is not shut down correctly and some processes might linger a bit afterwards and stopping the maintenance job and stopping the following startup.
So far this is what i have for a stop and restart with maintenance (a snippet):
case "$1" in
"start")
chown notes.notes /local/rebuild # view_rebuild_directory
su - notes -c "screen -L -d -m /opt/ibm/lotus/bin/server"
;;
"stop")
su - notes -c "/opt/ibm/lotus/bin/server -quit"
su - notes -c "/opt/ibm/lotus/bin/nsd -kill"
;;
"restart-checksysdb")
su - notes -c "/opt/ibm/lotus/bin/server -quit >> restartlog.log"
su - notes -c "/opt/ibm/lotus/bin/nsd -kill >> restartlog.log"
su - notes -c "/bin/bash /opt/maintenance/check-sysdb.sh >> restartlog.log"
su - notes -c "screen -L -d -m /opt/ibm/lotus/bin/server"
The part with "restart-checksysdb" is the tricky part. "nsd -kill" does not always do the job when the sametime server has for example crashed already before the job is run.
I have been experimenting with:
pgrep -l ibm | awk `{print $1}` | xargs kill -9
But not really achieved a perfect result.
So do anybody have any script that is more extensive than this?
Also I wonder if there is an interest with other people to exchange start/stop scripts for domino on the different linux distributions. There is probably a lot to learn from a script-exchange.
Feedback number WEBB8W3AAJ created by ~Tate Kikigengon on 07/10/2012
Status: Open
Comments: